package com.game.business.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.game.common.core.domain.BaseEntity;
import com.game.common.annotation.Excel;
import com.game.common.core.domain.entity.SysUser;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 订单担保人对象 t_order_dbr_record
 *
 * @author ruoyi
 * @date 2025-10-15
 */
@Data
@TableName(value = "t_order_dbr_record")
@EqualsAndHashCode(callSuper = true)
public class TOrderDbrRecord extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @TableId(type = IdType.ASSIGN_ID)
    private String id;
    /**
     * "订单Id"
     */
    @Excel(name = "订单Id")
    private String orderId;
    /**
     * "担保人id"
     */
    @Excel(name = "担保人id")
    private String dbrUserId;
    /**
     * "来源 1 用户指派 2 自己抢单 3异常订单"
     */
    @Excel(name = "来源")
    private String source;
    /**
     * "担保人类型  1 最原始的  2 另外两个担保人 "
     */
    @Excel(name = "担保人类型")
    private String type;

    /**
     * "担保人对象"
     */
    @TableField(exist = false)
    private SysUser dbrUser; ;

    /**
     * "订单对象"
     */
    @TableField(exist = false)
    private  TOrder order;

}
